home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
fredfish
/
ff.0754.dms
/
ff.0754.adf
/
SofTrack
/
SofTrack.ReadMe
< prev
next >
Wrap
Text File
|
1992-11-05
|
4KB
|
103 lines
Program name: SofTrack
Written with: Lattice C 3.1 (TINY option) and Cape Assembler 2.0
Machine: Standard Amiga 500 with OS1.3, One floppy drive,1 MByte RAM
Author: Kamran Karimi
Source: Included
Run methode: From both WorkBench and Shell (As all Amiga Programs should)
What it does: Shows the current position of the head of the disks and whether
it is a write or read operation.
By the way: My special thanks to the author of ByteBandit!
Program status:This program is semi-shareware meaning that I would like to
receive money, books or software if you use this program, but it is not
obligatory for poor Amiga users (I am one of them!).
I retain the CopyWrite to to the program including the source and the
executable form of it.
Directory contents:
SofTrack
SofTrack.c
SofTrack.o
SofTrack.ReadMe
Install.s
Install.o
GetUnitID.s
GetUnitID.o
To reproduce SofTrack link SofTrack.o, Install.o and GetUnitID.o with blink
Use lc.lib and Amiga.lib
NOTE: as my lattice V3.1 include files seemed to be corrupted, I used the
Aztec V3.6 include files to compile this program!.
SofTrack first checks to see which drives are present in the system,then
installs two routines at the DoIO and SendIO vectors.The Mother task's
priority is raised to 19 so as to guarantee a fast and consistent display
of information.These routines become active when a program jump to DoIO or
SendIO.The routines first check to see whether the device responsible is
trackdisk.device and then see if it is a read or write operation.After that
the track is computed assuming that a track has 11 sectors and a sector has
512 Bytes.then the routines send a message to the mother task giving the
necessary information.The mother task displays the information on the screen,
if the new track is different from the previously shown information.
I had some difficulty in finding out which drive the system wants to address
because I could not find where the system keeps this information.After looking
at a disassembly of the ByteBandit virus I saw that it was writing something
in a register responsible for the drive selection.I used that methode to find
the appropriate drive and I hope it works.
Does anybody know how the Amiga high density drives work?.has the number of
tracks changed or the number of sectors or maybe the sector densities?.Please
let me know about it.if the number of tracks has only changed then the program
shows the track correctly but if the sector number or the sector density has
changed, the program won't work with high density drives.
Important note:after executing SofTrack some virus killer programs may say
that a virus is in memory.This ofcourse is not the case.Do not try to remove
Softrack by a virus killer, it will crash the system.Note that this program
diverts the DoIO and SendIO vectors, so if you use a program like NoChange
then it will warn you of the change, in this case allways choose 'accept
hanges' and never restore them or SofTrack won't work!.
I have not tested the program under any other OS version or processor.I
should confess that I have not tested the program even with a second drive,
simply because I have only one drive and don't know anybody with a second
drive.Maybe someone will test it and kindly let me know about the results.
I would especially like to know if the program works with two or three drives
or with high density floppy drives.
You can pay for the program in three ways:
1) Send a small donnation.
2) Send me computer books (especially Amiga books) ,Software or manuals you
don't need any more, or even photocopies of articles in books or magazines
containing Amiga programming guides or examples.
Here in Iran I have not much access to information on the Amiga so I would
apreciate receiving technical information in any form.
3)Send me bug reports and mention the weak points of the program and the ways
to improve it.My main reason of writing programs is to learn more.
Send any bugs you find or any suggestions or donnations to
Kamran Karimi
2,Hassanabad
Haghshenas str.
Navab str.
13599 - Tehran
Iran